package com.bafa.objects.betwixt;

import com.bafa.objects.Division;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.TreeMap;

public class Season {
    public Season() {
    }
    
    private TreeMap<Integer,Division> divisions;
    private int id;
    private String name;
    private Calendar startDate;
    private Calendar endDate;
    private boolean league;
    private boolean completed;


    public void setDivisions(TreeMap<Integer, Division> divisions) {
        this.divisions = divisions;
    }

    public TreeMap<Integer, Division> getDivisions() {
        return divisions;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setStartDate(Calendar startDate) {
        this.startDate = startDate;
    }

    public Calendar getStartDate() {
        return startDate;
    }

    public void setEndDate(Calendar endDate) {
        this.endDate = endDate;
    }

    public Calendar getEndDate() {
        return endDate;
    }

    public void setLeague(boolean league) {
        this.league = league;
    }

    public boolean isLeague() {
        return league;
    }

    public void setCompleted(boolean completed) {
        this.completed = completed;
    }

    public boolean isCompleted() {
        return completed;
    }
}
